home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 42
/
Amiga Format AFCD42 (Issue 126, Aug 1999).iso
/
-serious-
/
comms
/
other
/
slrn
/
slrn_src
/
src
/
vmsmail.h
< prev
next >
Wrap
C/C++ Source or Header
|
1999-05-14
|
24KB
|
410 lines
/* Copyright (c) 1998 John E. Davis (davis@space.mit.edu)
*
* This file is part of slrn.
*
* Slrn is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2, or (at your option) any
* later version.
*
* Slrn is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License
* along with Slrn; see the file COPYING. If not, write to the Free
* Software Foundation, 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
typedef struct Mail_Type
{
unsigned short buflen;
unsigned short code;
long addr;
long ret, junk;
} Mail_Type;
/* Created by SDL V3.1-7 */
/* Source: 8-AUG-1988 10:36:21 */
#ifndef $MAILDEF_H
#define $MAILDEF_H
/*** MODULE $MAILDEF ***/
/* */
/* Definitions needed for callable mail. */
/* */
/* */
/* NOTE: New item codes must be appended to the end of */
/* each category so users will not have to relink. */
/* We allow 1024 entries in eatch category. */
/* */
/* */
/* Send input codes */
/* */
#define MAIL$_SEND_SPARE_0 1
#define MAIL$_SEND_FOREIGN 2 /* Send foreign format message */
#define MAIL$_SEND_CC_LINE 3 /* CC text specification */
#define MAIL$_SEND_DEFAULT_NAME 4 /* Default file name for send */
#define MAIL$_SEND_DEFAULT_TRANSPORT 5 /* Default transport used for addressees */
#define MAIL$_SEND_ERROR_ENTRY 6 /* Entry point for send error routine */
#define MAIL$_SEND_FILENAME 7 /* Specification of file name to send */
#define MAIL$_SEND_FROM_LINE 8 /* From text specification */
#define MAIL$_SEND_NO_DEFAULT_TRANSPORT 9 /* Don't use any default transport on send */
#define MAIL$_SEND_PERS_NAME 10 /* Personal name text for message */
#define MAIL$_SEND_RECORD 11 /* Record to be sent */
#define MAIL$_SEND_RESULTSPEC 12 /* Resultant filespec bodypart */
#define MAIL$_SEND_SERVER 13 /* Operate in server mode (signal success) */
#define MAIL$_SEND_SUBJECT 14 /* Subject text specification */
#define MAIL$_SEND_SUCCESS_ENTRY 15 /* Entry point for send success routine */
#define MAIL$_SEND_TO_LINE 16 /* To line text specification */
#define MAIL$_SEND_UFLAGS 17 /* User flags (for header) to send */
#define MAIL$_SEND_USER_DATA 18 /* User specified context for action routines */
#define MAIL$_SEND_USERNAME 19 /* Username to add to the "To" list */
#define MAIL$_SEND_USERNAME_TYPE 20 /* Username type - TO or CC */
#define MAIL$_SEND_FID 21 /* FID of file to send */
#define MAIL$_SEND_NO_PERS_NAME 22 /* Send message without personal name */
#define MAIL$_SEND_IN_SPARE3 23
#define MAIL$_SEND_IN_SPARE4 24
#define MAIL$_SEND_IN_SPARE5 25
/* */
/* Send output codes */
/* */
#define MAIL$_SEND_COPY_REPLY 26 /* Copy self reply set in profile */
#define MAIL$_SEND_COPY_SEND 27 /* Copy self send set in profile */
#define MAIL$_SEND_USER 28 /* Username of caller */
#define MAIL$_SEND_COPY_FORWARD 29 /* Copy self forward set in profile */
#define MAIL$_SEND_OUT_SPARE2 30
#define MAIL$_SEND_OUT_SPARE3 31
#define MAIL$_SEND_OUT_SPARE4 32
#define MAIL$_SEND_OUT_SPARE5 33
#define MAIL$K_SEND_MIN_ITEM 1
#define MAIL$K_SEND_MAX_ITEM 33
#define MAIL$K_SEND_ITEMS 33
/* */
/* file input codes */
/* */
#define MAIL$_MAILFILE_SPARE_0 1025
#define MAIL$_MAILFILE_DEFAULT_NAME 1026 /* Default filespec to open */
#define MAIL$_MAILFILE_FOLDER_ROUTINE 1027 /* Entry point of routine to process foldernames */
#define MAIL$_MAILFILE_FULL_CLOSE 1028 /* Do a PURGE, CONVERT/RECLAIM if necessary on close */
#define MAIL$_MAILFILE_NAME 1029 /* File spec to open */
#define MAIL$_MAILFILE_RECLAIM 1030 /* Do RECLAIM on PURGE command */
#define MAIL$_MAILFILE_USER_DATA 1031 /* User specified context for action routines */
#define MAIL$_MAILFILE_WASTEBASKET_NAME 1032 /* New wastebasket name for file */
#define MAIL$_MAILFILE_IN_SPARE1 1033
#define MAIL$_MAILFILE_IN_SPARE2 1034
#define MAIL$_MAILFILE_IN_SPARE3 1035
#define MAIL$_MAILFILE_IN_SPARE4 1036
#define MAIL$_MAILFILE_IN_SPARE5 1037
#define MAIL$_MAILFILE_IN_SPARE6 1038
#define MAIL$_MAILFILE_IN_SPARE7 1039
#define MAIL$_MAILFILE_IN_SPARE8 1040
#define MAIL$_MAILFILE_IN_SPARE9 1041
#define MAIL$_MAILFILE_IN_SPARE10 1042
#define MAIL$_MAILFILE_IN_SPARE11 1043
#define MAIL$_MAILFILE_IN_SPARE12 1044
#define MAIL$_MAILFILE_IN_SPARE13 1045
#define MAIL$_MAILFILE_IN_SPARE14 1046
#define MAIL$_MAILFILE_IN_SPARE15 1047
#define MAIL$_MAILFILE_IN_SPARE16 1048
#define MAIL$_MAILFILE_IN_SPARE17 1049
#define MAIL$_MAILFILE_IN_SPARE18 1050
#define MAIL$_MAILFILE_IN_SPARE19 1051
#define MAIL$_MAILFILE_IN_SPARE20 1052
/* */
/* file output codes */
/* */
#define MAIL$_MAILFILE_DATA_RECLAIM 1053 /* Number of data buckets reclaimed */
#define MAIL$_MAILFILE_DATA_SCAN 1054 /* Number of data buckets scanned */
#define MAIL$_MAILFILE_DELETED_BYTES 1055 /* Number of free bytes in mail file */
#define MAIL$_MAILFILE_INDEX_RECLAIM 1056 /* Number of index buckets reclaimed */
#define MAIL$_MAILFILE_MAIL_DIRECTORY 1057 /* Mail sub-directory specification */
#define MAIL$_MAILFILE_MESSAGES_DELETED 1058 /* Number of messages deleted */
#define MAIL$_MAILFILE_RESULTSPEC 1059 /* Resultant file spec */
#define MAIL$_MAILFILE_TOTAL_RECLAIM 1060 /* Total buckets reclaimed */
#define MAIL$_MAILFILE_WASTEBASKET 1061 /* Wastebasket name */
#define MAIL$_MAILFILE_INDEXED 1062 /* ISAM file */
#define MAIL$_MAILFILE_OUT_SPARE2 1063
#define MAIL$_MAILFILE_OUT_SPARE3 1064
#define MAIL$_MAILFILE_OUT_SPARE4 1065
#define MAIL$_MAILFILE_OUT_SPARE5 1066
#define MAIL$_MAILFILE_OUT_SPARE6 1067
#define MAIL$_MAILFILE_OUT_SPARE7 1068
#define MAIL$_MAILFILE_OUT_SPARE8 1069
#define MAIL$_MAILFILE_OUT_SPARE9 1070
#define MAIL$_MAILFILE_OUT_SPARE10 1071
#define MAIL$_MAILFILE_OUT_SPARE11 1072
#define MAIL$_MAILFILE_OUT_SPARE12 1073
#define MAIL$_MAILFILE_OUT_SPARE13 1074
#define MAIL$_MAILFILE_OUT_SPARE14 1075
#define MAIL$_MAILFILE_OUT_SPARE15 1076
#define MAIL$_MAILFILE_OUT_SPARE16 1077
#define MAIL$_MAILFILE_OUT_SPARE17 1078
#define MAIL$_MAILFILE_OUT_SPARE18 1079
#define MAIL$_MAILFILE_OUT_SPARE19 1080
#define MAIL$_MAILFILE_OUT_SPARE20 1081
#define MAIL$K_MAILFILE_MIN_ITEM 1025
#define MAIL$K_MAILFILE_MAX_ITEM 1081
#defi